package com.maxie.duck.demo.service.impl;

import com.maxie.duck.demo.service.Duck;

/**
 * 绿头鸭
 */
public class MallarDuck implements Duck {
    @Override
    public void squack() {
        System.out.println("绿头鸭在呱呱叫");
    }

    @Override
    public void fly() {
        System.out.println("绿头鸭在自由的飞翔");

    }
}
